<template>
    <div class="headmain">
        <el-row :gutter="20">
            <el-col :span="6"><div class="grid-content bg-purple">
                <ul>
                    <li><strong>系统首页</strong></li>
                </ul>
            </div></el-col>
            <el-col :span="6" :offset="12"><div class="grid-content bg-purple">
                <el-button type="success" @click="goHome()">返回大屏首页</el-button>
            </div></el-col>
        </el-row>
        <!-- <ul>
            <li><strong>系统首页</strong></li>
        </ul>
        

        <strong @click="goHome()">返回大屏首页</strong>
        <el-button type="success" @click="goHome()">返回大屏首页</el-button> -->
    </div>
</template>

<script>
    export default{
        methods: {
            goHome(){
                this.$router.push('/home')
                this.$message({
                    showClose: true,
                    message: 'welcome',
                    type: 'success'
                });
            }
        }
    }

</script>

<style scoped>
.headmain{
            height: 60px;
            width: 1440px;
            background-color:#f2f2f2;
            opacity: 1;
            border-style: solid;
            border-width:1px;
            border-color:#D7D7D7;
        }

        .headmain ul{
            display:inline-block;
            font-size: 25px;
            list-style: none;
            list-style-image: url(../../../assets/images/li.png);
        }
        .headmain strong{
            height: 20px;
            font-size: 20px;
            float: right;
            text-decoration-line: none;
        }

</style>
